package com.cjl.learn.builder;

/**
 * Created by Enzo Cotter on 2019-09-02.
 */
public abstract class Builder {

    House house = new House();

    // 打桩
    abstract void buildBase();

    // 砌墙
    abstract void buildWall();

    // 封顶
    abstract void buildRoof();

    public House buildHouse() {
        return house;
    }
}
